<?php
header('Content-Encoding: utf-8'); 
header("Pragma: no-cache");  
header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");  
header('Content-Type: application/json; charset=utf-8');

if(isset($deletedBranchId) && !$sikeres)
	$message .=  ' A teljes ág lezárásához kattints <a href="'.$html->url('/tasks/setClosed/').$deletedBranchId.'/1" onClick="what2Do.taskList.setClosed(this);return false;" id="'.$deletedBranchId.'">ide</a>.';

print json_encode(array(
								'message' => array('message' => $message, 'integrityFault' => $integrityFault),
								'sikeres' => $sikeres,
								'quickinfo' => $qi
								)
						);
?>